package com.lemon.smartsafety.ui.adapter.user;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.lemon.safecloud.greendao.LoginUser;

import java.util.List;

import kale.adapter.CommonRcvAdapter;
import kale.adapter.item.AdapterItem;

/**
 * Created by Cooliean on 16/2/17.
 */
public class LoginUserAdapter extends CommonRcvAdapter<LoginUser>{
    private List<LoginUser> mItems;
    public LoginUserAdapter(@Nullable List<LoginUser> data) {
        super(data);
        this.mItems = data;
    }

    @NonNull
    @Override
    public AdapterItem createItem(Object type) {
        return new LoginUserItem();
    }
}
